package com.zhku.meeting.enums;

public enum CodeEnum {

    CODE_0000("0000", "成功"),
    CODE_1001("1001", "用户名或密码错误"),
    CODE_1002("1002", "用户已失效，请联系管理员"),
    CODE_1003("1003", "请先登录"),
    CODE_1004("1004", "旧密码错误"),
    CODE_1005("1005", "用户信息不存在"),
    CODE_1006("1006", "权限校验失败，请重试"),


    CODE_100("100", "登陆成功"),
    CODE_1012("1012", "无法根据会议号查询到用户信息"),
    CODE_1013("1013", "无法根据用户ID查询到用户信息"),
    CODE_1014("1014", "参数校验失败，请重试"),
    ;

    private final String code;

    private final String desc;

    private CodeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String code() {

        return this.code;
    }

    public String desc() {

        return this.desc;
    }

}
